package hzjbbis.framework.workflow.util;

import hzjbbis.framework.user.UserInfo;

public class CurrentUser {
	private static ThreadLocal currentUser = new ThreadLocal();
	
	public static UserInfo get() {
		return (UserInfo) currentUser.get();
	}
	
	public static void set(UserInfo user) {
		currentUser.set(user);
	}
}
